package com.xiaoyu.lanling.feature.main.activity

import android.content.Intent
import android.os.Bundle
import androidx.annotation.Keep
import com.xiaoyu.lanling.R
import com.xiaoyu.lanling.activity.base.AppCompatToolbarActivity
import com.xiaoyu.lanling.feature.main.controller.MainActivityViewController

@Keep
class MainActivity : AppCompatToolbarActivity() {

    private lateinit var mController: MainActivityViewController

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setLightStatusBar()
        setContentView(R.layout.activity_main)

        mController = MainActivityViewController(this)
    }

    override fun onNewIntent(intent: Intent?) {
        super.onNewIntent(intent)
        mController.onNewIntent(intent)
    }
}